<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h2>js赋值运算符</h2>
</body>
<script>
    // let a1 = 10;

    // console.log('表达式结果：', a1 = 10)
    // console.log('变量结果：', a1)

    //a1 %= 30 //a1=a1+30

    // console.log('变量结果：', a1)

    let i = 2;

    let result = i++ - ++i * i++

        console.log(result)
</script>

</html>